package sector.soda;

import com.jme3.app.SimpleApplication;
import com.jme3.renderer.RenderManager;
import com.jme3.system.AppSettings;
import sector.soda.states.MenuState;
import sector.soda.util.MyLogger;

/**
 * @author cheesecake
 */
public class Main extends SimpleApplication {    
    
    public static final MyLogger log = new MyLogger("Sector_Soda.log");

    public static void main(String[] args) {        
        Main app = new Main();
        
        AppSettings settings = new AppSettings(true);
        settings.setResolution(1024, 768);
        settings.setTitle("Sector 50DA");
        
        app.setSettings(settings);
        app.setShowSettings(false);
        
        app.start();
    }

    @Override
    public void simpleInitApp() {
        MenuState menuState = new MenuState();
        stateManager.attach(menuState);
    }

    @Override
    public void simpleUpdate(float tpf) {        
    }

    @Override
    public void simpleRender(RenderManager rm) {
    }
}
